package com.zj;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients(basePackages = "com.zj.restApi")  //开启openfeign客户端-->利用动态代理机制，生成代理对象
public class MyUserApp {
    public static void main(String[] args) {
        SpringApplication.run(MyUserApp.class,args);
    }
}
